package avoid_losing_exception_information;

public class Test {
	public void bar() {
		
		try {
			// do something
			
		} catch (Exception se) {
			
			se.getMessage(); // violation: loosing info
			String s = se.getMessage(); // ok
		}
		
	}
}
